import 'package:bruno/bruno.dart';
import 'package:flutter/material.dart';
import 'package:yt_devops/components/yt_form/props/text_select_props.dart';

class DatePickerProps extends TextSelectProps {
  Key? key;

  bool rootNavigator;
  bool? canBarrierDismissible;
  DateTime? minDateTime;
  DateTime? maxDateTime;
  DateTime? initialDateTime;
  String dateFormate;

  int minuteDivider;

  BrnPickerTitleConfig pickerTitleConfig;
  dynamic Function()? onCancel;
  dynamic Function()? onClose;
  dynamic Function(DateTime, List<int>)? onChange;
  dynamic Function(DateTime, List<int>)? onConfirm;

  DatePickerProps(
      {this.key,
      this.rootNavigator = false,
      this.canBarrierDismissible,
      this.minDateTime,
      this.maxDateTime,
      this.initialDateTime,
      this.minuteDivider = 1,
      this.pickerTitleConfig = BrnPickerTitleConfig.Default,
      this.onCancel,
      this.onConfirm,
      this.onChange,
      this.onClose,
      this.dateFormate = 'yyyy-MM-dd'});
}
